﻿using System;

// Token: 0x0200003D RID: 61
public struct HsvColor
{
	// Token: 0x06000163 RID: 355 RVA: 0x0000E17C File Offset: 0x0000C37C
	public HsvColor(double h, double s, double v)
	{
		this.H = h;
		this.S = s;
		this.V = v;
	}

	// Token: 0x17000034 RID: 52
	// (get) Token: 0x06000164 RID: 356 RVA: 0x0000E193 File Offset: 0x0000C393
	// (set) Token: 0x06000165 RID: 357 RVA: 0x0000E1A2 File Offset: 0x0000C3A2
	public float normalizedH
	{
		get
		{
			return (float)this.H / 360f;
		}
		set
		{
			this.H = (double)value * 360.0;
		}
	}

	// Token: 0x17000035 RID: 53
	// (get) Token: 0x06000166 RID: 358 RVA: 0x0000E1B6 File Offset: 0x0000C3B6
	// (set) Token: 0x06000167 RID: 359 RVA: 0x0000E1BF File Offset: 0x0000C3BF
	public float normalizedS
	{
		get
		{
			return (float)this.S;
		}
		set
		{
			this.S = (double)value;
		}
	}

	// Token: 0x17000036 RID: 54
	// (get) Token: 0x06000168 RID: 360 RVA: 0x0000E1C9 File Offset: 0x0000C3C9
	// (set) Token: 0x06000169 RID: 361 RVA: 0x0000E1D2 File Offset: 0x0000C3D2
	public float normalizedV
	{
		get
		{
			return (float)this.V;
		}
		set
		{
			this.V = (double)value;
		}
	}

	// Token: 0x0600016A RID: 362 RVA: 0x0000E1DC File Offset: 0x0000C3DC
	public override string ToString()
	{
		return string.Concat(new string[]
		{
			"{",
			this.H.ToString("f2"),
			",",
			this.S.ToString("f2"),
			",",
			this.V.ToString("f2"),
			"}"
		});
	}

	// Token: 0x04000242 RID: 578
	public double H;

	// Token: 0x04000243 RID: 579
	public double S;

	// Token: 0x04000244 RID: 580
	public double V;
}
